package buildcode.database;

import java.util.Map;

public class EnumColumnInfo {
    /**
     * 对枚举的说明
     */
	private String columnDesc = "";

	/**
	 * <id,值>
	 */
	private Map<Integer, String> enumValues;

	/**
	 * 列 备注，包含了上面两个字段的值
	 */
	private String note = "";

	public String getColumnDesc() {
		return columnDesc;
	}

	public void setColumnDesc(String columnDesc) {
		this.columnDesc = columnDesc;
	}

	public Map<Integer, String> getEnumValues() {
		return enumValues;
	}

	public void setEnumValues(Map<Integer, String> enumValues) {
		this.enumValues = enumValues;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public EnumColumnInfo(String columnDesc, Map<Integer, String> enumValues, String note) {
		super();
		this.columnDesc = columnDesc;
		this.enumValues = enumValues;
		this.note = note;
	}

	@Override
	public String toString() {
		return "EnumColumnInfo [columnDesc=" + columnDesc + ", enumValues=" + enumValues + ", note=" + note + "]";
	}

}
